/**
 * Copyright  (c) 2009-2010 Wilmar IT Service,  Inc.   
 * All  rights  reserved. 
 */
package com.wilmar.process.entity.factory.api;

import java.io.Serializable;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;

import com.wilmar.process.entity.vo.ValueObject;

/**
 * @author MaKuBEX Email:makubexnet@gmail.com
 * @version 1.0.0 May 12, 2010
 * @since 1.0.0
 * 
 */
public interface IBaseValueObjectFactory<V extends ValueObject> extends Serializable {

	/**
	 * 根据记录集构建ValueObject对象
	 * 
	 * @param resultSet
	 *            查询记录集
	 * @return
	 */
	public List<V> getValueObject(ResultSet resultSet) throws SQLException;
}
